<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <TITLE>管理员用户登陆  admin</TITLE>
		<META http-equiv=Content-Type content="text/html">
		
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<LINK href="css/adminLogin.css" type="text/css" rel="stylesheet">
	<script type="text/javascript">   
    function changeValidateCode(obj) {   
           //获取当前的时间作为参数，无具体意义   
        var timenow = new Date().getTime();   
           //每次请求需要一个不同的参数，否则可能会返回同样的验证码   
        //这和浏览器的缓存机制有关系，也可以把页面设置为不缓存，这样就不用这个参数了。   
        obj.src="valiCode!getImgCode.action?d="+timenow;   
    }   
</script>   
  </head>
  
  <body onload=document.loginForm.userName.focus();>
   <TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%"
			bgColor=#002779 border=0>
			<TR>
				<TD align=middle>
					<TABLE cellSpacing=0 cellPadding=0 width=468 border=0>
						<TR>
							<TD>
								<IMG height=23 src="images/adminLogin/login_1.jpg" width=468>
							</TD>
						</TR>
						<TR>
							<TD>
								<IMG height=147 src="images/adminLogin/login_2.jpg" width=468>
							</TD>
						</TR>
					</TABLE>
					<TABLE cellSpacing=0 cellPadding=0 width=468 bgColor=#ffffff
						border=0>
						<TR>
							<TD width=16>
								<IMG height=156 src="images/adminLogin/login_3.jpg" width=16>
							</TD>
							<TD align=middle>
							<FORM name=loginForm action="loginAction!adminLogIn.action" method=post>
								<TABLE cellSpacing=0 cellPadding=0 width=230 border=0>
									
										<TR height=5>
											<TD width=5></TD>
											<TD width=56></TD>
											<TD></TD>
										</TR>
										<TR height=36>
											<TD></TD>
											<TD>
												用户名
											</TD>
											<TD>
												<INPUT
													style="BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-BOTTOM: #000000 1px solid"
													maxLength=30 size=24 type="text" name=user.user_name>
											</TD>
										</TR>
										<TR height=36>
											<TD>&nbsp;
												
											</TD>
											<TD>
												口 令
											</TD>
											<TD>
												<INPUT
													style="BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-BOTTOM: #000000 1px solid"
													type=password maxLength=30 size=24 name=user.user_password>
											</TD>
										</TR>
										<TR height=5 align="center">
											<TD colSpan=3><img src="valiCode!getImgCode.action" onClick="changeValidateCode(this)"/>  
											</TD>
										</TR>
										<TR height=36>
											<TD>&nbsp;
												
											</TD>
											<TD>
												验证码：
											</TD>
											<TD>
												<input  name=str style="WIDTH:140px;HEIGHT:20px;margin-bottom:4px;" type="text" maxlength=6>
											</TD>
										</TR>
										
										
									
									<TR>
											<TD>&nbsp;
												
											</TD>
											<TD>&nbsp;
												
											</TD>
											<TD>
												<INPUT type=image height=18 width=70
													src="images/adminLogin/bt_login.gif" onClick="document.loginForm[0].submit()">
											</TD>
										</TR>
										
								</TABLE>
								</FORM>
							</TD>
							<TD width=16>
								<IMG height=156 src="images/adminLogin/login_4.jpg" width=16>
							</TD>
						</TR>
					</TABLE>
					<TABLE cellSpacing=0 cellPadding=0 width=468 border=0>
						<TR>
							<TD>
								<IMG height=16 src="images/adminLogin/login_5.jpg" width=468>
							</TD>
						</TR>
					</TABLE>
					
				</TD>
			</TR>
		</TABLE>
  </body>
</html>
